package top.wshape1.shiziapi.uaa;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.ConfigurableApplicationContext;
import top.wshape1.shiziapi.uaa.utils.SslUtil;

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@MapperScan("top.wshape1.shiziapi.uaa.mapper")
public class ShiZiApiUaaApplication {

    public static void main(String[] args) throws Exception {
        ConfigurableApplicationContext run = SpringApplication.run(ShiZiApiUaaApplication.class, args);
        System.out.println(111);
        // 信任所有的SSL证书
        SslUtil.ignoreSsl();
    }

}
